gtk4.git
10 years agogtkwindow: default size with fixed size windows
Olivier Fourdan [Fri, 4 Mar 2016 20:29:25 +0000 (21:29 +0100)]
gtkwindow: default size with fixed size windows

Allow fixed size windows with a default size to grow or shrink as the
content requires, but not smaller than the given default size.

https://bugzilla.gnome.org/show_bug.cgi?id=762974

10 years agogtkapplication-dbus: use application id instead of prgname for SM
Ray Strode [Fri, 4 Mar 2016 16:10:18 +0000 (11:10 -0500)]
gtkapplication-dbus: use application id instead of prgname for SM

gnome-session takes an "app id" for client and inhibitor registration,
This app id is supposed to be a desktop file id (complete with the
.desktop extension), but gtk+ currently uses g_get_prgname ().

This commit changes gtkapplication to use the application id instead,
which is a much more natural fit.  gnome-session is going to be updated
to stop using the .desktop extension, too, so everything is consistent.

https://bugzilla.gnome.org/show_bug.cgi?id=763106

10 years agogtkplacessidebar: add new other locations with flags signal
Carlos Soriano [Mon, 29 Feb 2016 22:13:51 +0000 (23:13 +0100)]
gtkplacessidebar: add new other locations with flags signal

We weren't using the open flags on the other locations signal, which
makes impossible for applications like nautilus to act in the same
way that for any other location where the user can choose between
opening in the current view, in a new window or in a new tab.

Add a new signal with an open flags parameter and deprecate
the other-location signal.

https://bugzilla.gnome.org/show_bug.cgi?id=754743

10 years agoRevert "gtkplacessidebar: add open flags to other locations"
Carlos Soriano [Mon, 29 Feb 2016 21:12:03 +0000 (22:12 +0100)]
Revert "gtkplacessidebar: add open flags to other locations"

This reverts commit 63a204e1c5b6c since it broke the API.
We will add a new signal instead in an upcomming patch.

https://bugzilla.gnome.org/show_bug.cgi?id=754743

10 years agoAdwaita: treeview column header scrollbar top border
Lapo Calamandrei [Sat, 5 Mar 2016 01:09:22 +0000 (02:09 +0100)]
Adwaita: treeview column header scrollbar top border

add a top border in vertical scrollbars in treeviews.

10 years agowayland: Don't crash with offscreen windows
Matthias Clasen [Sat, 5 Mar 2016 01:01:57 +0000 (20:01 -0500)]
wayland: Don't crash with offscreen windows

Use gdk_window_get_effective_toplevel when looking for
a suitable transient parent, to skip over offscreen windows
that we might encounter in the window tree. This fixes
a crash in glade.

https://bugzilla.gnome.org/show_bug.cgi?id=763110

10 years agoAdwaita: shrink scroolbars
Lapo Calamandrei [Sat, 5 Mar 2016 01:01:16 +0000 (02:01 +0100)]
Adwaita: shrink scroolbars

erroneusly pushed 15px scrollbars with the previous commit, back
to 13px now.

10 years agoAdwaita: fix a typo
Lapo Calamandrei [Sat, 5 Mar 2016 00:50:18 +0000 (01:50 +0100)]
Adwaita: fix a typo

10 years agoAdwaita: scrollbar style rewrite
Lapo Calamandrei [Sat, 5 Mar 2016 00:39:13 +0000 (01:39 +0100)]
Adwaita: scrollbar style rewrite

works correctly with the new gadgettified GtkRange Cosimo nicelly
delivered, as a bonus steppers are styled for overlay indicator
usage as well.

10 years agoUpdated Russian translation
Stas Solovey [Fri, 4 Mar 2016 21:41:52 +0000 (21:41 +0000)]
Updated Russian translation

10 years agorange: add positional style classes to fill/highlight
Cosimo Cecchi [Fri, 4 Mar 2016 19:56:08 +0000 (11:56 -0800)]
range: add positional style classes to fill/highlight

Requested by Lapo.

10 years agox11: Trap errors around an XRandr call
Matthias Clasen [Fri, 4 Mar 2016 19:34:03 +0000 (14:34 -0500)]
x11: Trap errors around an XRandr call

Apparently, we can get X errors here. Ignore them.
https://bugzilla.gnome.org/show_bug.cgi?id=762907

10 years agogtkwindow: windows with a fixed size can shrink
Olivier Fourdan [Fri, 4 Mar 2016 09:34:12 +0000 (10:34 +0100)]
gtkwindow: windows with a fixed size can shrink

One important aspect of non-resizable windows that we need to preserve
is that they shrink when their content requires less size.

Previous changes to allow the default size to be applied to fixed size
windows would have prevented all fixed size windows from shrinking when
their content requires less size.

Allow shrinking for fixed-size windows unless a default size was
specified.

https://bugzilla.gnome.org/show_bug.cgi?id=762974

10 years agoUpdated Hungarian translation
Balázs Úr [Fri, 4 Mar 2016 19:15:05 +0000 (19:15 +0000)]
Updated Hungarian translation

10 years agoAdwaita: shrink back scale trough
Lapo Calamandrei [Fri, 4 Mar 2016 19:08:19 +0000 (20:08 +0100)]
Adwaita: shrink back scale trough

like it was before the GtkRange gadgettification.

10 years agowayland: Clean up key repeat timeout
Matthias Clasen [Fri, 4 Mar 2016 18:54:39 +0000 (13:54 -0500)]
wayland: Clean up key repeat timeout

When returning G_SOURCE_REMOVE from a callback, we need
to reset the source id as well.

10 years agogadget: Add more details to warning
Matthias Clasen [Fri, 4 Mar 2016 18:55:33 +0000 (13:55 -0500)]
gadget: Add more details to warning

All the other warnings in this file include the css node name
and the gadget owners type. Be consistent about this.

10 years agogadget: Warn if for_size is too small
Matthias Clasen [Fri, 4 Mar 2016 18:43:19 +0000 (13:43 -0500)]
gadget: Warn if for_size is too small

It does not make sense to pass a for_size into the size allocation
machinery that is smaller than the min-size in that direction.
Warn if it happens, so we can track it down when it occurs.

10 years agoAdwaita: really fix scale with marks
Lapo Calamandrei [Fri, 4 Mar 2016 18:16:48 +0000 (19:16 +0100)]
Adwaita: really fix scale with marks

added a min-height/width compensation too when in fine-tune mode,
so scale with marks and no labels doesn't make the scale node grow
when in fine-tune.

10 years agogtk-launch: add hack to close up dbus-daemon race
Ray Strode [Fri, 4 Mar 2016 15:02:34 +0000 (10:02 -0500)]
gtk-launch: add hack to close up dbus-daemon race

If gtk-launch exits before the program it starts fully activates,
then the dbus-daemon may avoid doing the activating method call.

This commit works around the problem by pinging the activated
application, and waiting for a reply.

This is similar to the gvfs-open bug here:

    https://bugzilla.gnome.org/show_bug.cgi?id=746534

https://bugzilla.gnome.org/show_bug.cgi?id=763103

10 years agoAdwaita: fix a thinko wrt fine-tune scales
Lapo Calamandrei [Fri, 4 Mar 2016 17:36:36 +0000 (18:36 +0100)]
Adwaita: fix a thinko wrt fine-tune scales

added a scale node padding compensation for the trough growth in
fine-tune mode, so now the scale node doesn't grow anymore when
mark labels are present.

10 years agoicon helper: Properly update on style change
Matthias Clasen [Fri, 4 Mar 2016 13:50:52 +0000 (08:50 -0500)]
icon helper: Properly update on style change

A GtkCssChange of NULL means 'everything changed!'.

10 years agoentry: Make progress node invisible when appropriate
Matthias Clasen [Fri, 4 Mar 2016 13:01:02 +0000 (08:01 -0500)]
entry: Make progress node invisible when appropriate

We were failing to do that, leading to progress not disappearing
anymore after it was initially shown, in the gtk3-widget-factory
entry progress example.

10 years agotestscale: change example to use upwards labels
Cosimo Cecchi [Fri, 4 Mar 2016 05:12:21 +0000 (21:12 -0800)]
testscale: change example to use upwards labels

There's no example of that in testscale.

10 years agoAdwaita: fix thinko in fine-tune scale selector
Cosimo Cecchi [Fri, 4 Mar 2016 05:04:07 +0000 (21:04 -0800)]
Adwaita: fix thinko in fine-tune scale selector

Marks always get class top/bottom, regardless of the scale orientation.

10 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Fri, 4 Mar 2016 04:48:34 +0000 (04:48 +0000)]
Updated Kazakh translation

10 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Fri, 4 Mar 2016 04:09:51 +0000 (04:09 +0000)]
Updated Kazakh translation

10 years agoCheck if XRRGetOutputInfo returned a null pointer.
fiddlerwoaroof [Thu, 3 Mar 2016 15:30:00 +0000 (10:30 -0500)]
Check if XRRGetOutputInfo returned a null pointer.

Fixes bug 763023: in certain circumstances, XRRGetOutputInfo will return
a null pointer.  This commit adds a check to detect and handle this
return value.

10 years agoexpander: Reinstate rtl allocation behavior
Matthias Clasen [Fri, 4 Mar 2016 02:28:08 +0000 (21:28 -0500)]
expander: Reinstate rtl allocation behavior

In rtl mode, we must not just reverse the children,
but also allocate from the right. Use the newly introduced
box gadget api to achieve this.

https://bugzilla.gnome.org/show_bug.cgi?id=762945

10 years agocheck button: Reinstate rtl allocation behavior
Matthias Clasen [Fri, 4 Mar 2016 02:26:39 +0000 (21:26 -0500)]
check button: Reinstate rtl allocation behavior

In rtl mode, we must not just reverse the children,
but also allocate from the right. Use the newly introduced
box gadget api to achieve this.

https://bugzilla.gnome.org/show_bug.cgi?id=762945

10 years agobox gadget: Add a way to allocate in reverse
Matthias Clasen [Fri, 4 Mar 2016 02:24:20 +0000 (21:24 -0500)]
box gadget: Add a way to allocate in reverse

This is needed to preserve expected allocation behavior
in rtl mode.

10 years agoUpdated POTFILES.skip
Piotr Drąg [Fri, 4 Mar 2016 00:52:47 +0000 (01:52 +0100)]
Updated POTFILES.skip

10 years agoreftests: add a test for animated box shadow updating clip
Matt Watson [Wed, 2 Mar 2016 02:26:47 +0000 (18:26 -0800)]
reftests: add a test for animated box shadow updating clip

This was just fixed by 3e0694284785153944255a0501e84a76c491e4b4

10 years agoreftests: rename util file frame-inhibitor
Matt Watson [Wed, 2 Mar 2016 07:28:23 +0000 (23:28 -0800)]
reftests: rename util file frame-inhibitor

We'll use the label-text-shadow-changes-modify-clip utils
more generically, lets name the file after its function.

10 years agorevealer-size: Fix animation setting
Timm Bäder [Thu, 3 Mar 2016 20:04:39 +0000 (21:04 +0100)]
revealer-size: Fix animation setting

Turn animations off before testing, for all test functions containing
"no_animations".

10 years agoUpdated Greek translation
Evangelos Skarmoutsos [Thu, 3 Mar 2016 19:02:18 +0000 (19:02 +0000)]
Updated Greek translation

10 years agoRemove unused variable
Руслан Ижбулатов [Thu, 3 Mar 2016 17:22:02 +0000 (17:22 +0000)]
Remove unused variable

10 years agoGDK W32: Fix redrawing during drag-move with no composition
Руслан Ижбулатов [Thu, 3 Mar 2016 17:17:25 +0000 (17:17 +0000)]
GDK W32: Fix redrawing during drag-move with no composition

10 years agorevealer: Don't use TRANSITION_NONE for disabled animations
Timm Bäder [Thu, 3 Mar 2016 12:05:14 +0000 (13:05 +0100)]
revealer: Don't use TRANSITION_NONE for disabled animations

If animations are disabled, the only difference we need to make is that
we don't have to start the transition. Size requests should remain the
same.

https://bugzilla.gnome.org/show_bug.cgi?id=762996

10 years agoAdd GtkRevealer sizing tests
Timm Bäder [Thu, 3 Mar 2016 12:04:58 +0000 (13:04 +0100)]
Add GtkRevealer sizing tests

https://bugzilla.gnome.org/show_bug.cgi?id=762996

10 years agoAdwaita: fix a thinko about toolbar items spacing with margins
Lapo Calamandrei [Thu, 3 Mar 2016 17:01:58 +0000 (18:01 +0100)]
Adwaita: fix a thinko about toolbar items spacing with margins

10 years agogtkwindow: Fix regression with fixed size windows
Olivier Fourdan [Thu, 3 Mar 2016 16:47:35 +0000 (17:47 +0100)]
gtkwindow: Fix regression with fixed size windows

Previous commit to address the default size introduced a regression
with fixed size windows if no default size was given, the resulting
window would end up much smaller than its actual content.

10 years agoUpdated Korean translation
Changwoo Ryu [Thu, 3 Mar 2016 16:32:06 +0000 (16:32 +0000)]
Updated Korean translation

10 years agoUpdated Korean translation
Changwoo Ryu [Thu, 3 Mar 2016 16:12:06 +0000 (16:12 +0000)]
Updated Korean translation

10 years agoAdwaita: uniform paddings on image-buttons
Lapo Calamandrei [Thu, 3 Mar 2016 15:12:20 +0000 (16:12 +0100)]
Adwaita: uniform paddings on image-buttons

fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811

10 years agoAdwaita: use margin for spacing widgets on toolbars
Lapo Calamandrei [Thu, 3 Mar 2016 14:58:13 +0000 (15:58 +0100)]
Adwaita: use margin for spacing widgets on toolbars

kind of a workaround, this approach is pretty unmaintainable, I
hope we'll get a CSS property for spacing directly on the parent
container (a toolbar in this particular case).
See https://bugzilla.gnome.org/show_bug.cgi?id=762397

10 years agogtkwindow: Use default size even if not resizable
Olivier Fourdan [Wed, 2 Mar 2016 10:10:29 +0000 (11:10 +0100)]
gtkwindow: Use default size even if not resizable

If a window is not resizable (with gtk_window_set_resizable ()),
the size given with gtk_window_set_default_size() is ignored.

The solution to this would be to use gtk_widget_set_size_request() but
that's a GtkWidget API and therefore does not take into account the
client side decorations when in use with GtkWindow.

Refactor the code so that gtk_window_set_default_size() (which is a
GtkWindow API) gives the expected result on non-resizable windows as
well.

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762974

10 years agoW32: Prefer CSD by default
Руслан Ижбулатов [Sun, 27 Dec 2015 03:37:21 +0000 (03:37 +0000)]
W32: Prefer CSD by default

Will make GTK+ more willing to use CSD for all normal windows without
being asked to. Lack of desktop composition will, of course, prevent
it from using CSD (in theory).

GTK_CSD=0 will force CSD to NOT to be used whenever
possible (i.e. in cases where CSD is not specifically requested
by a window, by design).

https://bugzilla.gnome.org/show_bug.cgi?id=759899

10 years agoGDK W32: Set default cursor from our own theme right away
Руслан Ижбулатов [Tue, 1 Mar 2016 03:40:36 +0000 (03:40 +0000)]
GDK W32: Set default cursor from our own theme right away

Otherwise WM-dependent default cursor is used, which does not
match our theme. Worse, later GDK will realize that we have
our own left_ptr cursor and will apply it after all, making
the discrepancy even more noticeable.

https://bugzilla.gnome.org/show_bug.cgi?id=762902

10 years agoGDK W32: Force correct mouse cursor for custom resize/move
Руслан Ижбулатов [Sat, 27 Feb 2016 00:10:12 +0000 (00:10 +0000)]
GDK W32: Force correct mouse cursor for custom resize/move

* Explicitly grab the device, setting appropriate cursor on it.
* Fix gdk_device_virtual_set_window_cursor() to just set the
  cursor, without trying to check that mouse is over the given
  window. Also prevent it from immediately resetting cursor.
* Alse take into account things that happen in other parts of
  GDK - don't look for replacement cursor, GDK already did that,
  and don't create a default arrow cursor instead of NULL,
  GDK-W32 already did that up the stack as well.
  Warn about inappropriate cursor == NULL argument instead.

https://bugzilla.gnome.org/show_bug.cgi?id=762711

10 years agorange: use border allocation for gadget hit test
Cosimo Cecchi [Thu, 3 Mar 2016 06:23:11 +0000 (22:23 -0800)]
range: use border allocation for gadget hit test

The border is typically part of the reactive part of the widget. This
matches the pre-gadget behavior.

10 years agoGDK W32: Implement gdk_win32_screen_get_monitor_workarea()
Руслан Ижбулатов [Wed, 2 Mar 2016 22:07:54 +0000 (22:07 +0000)]
GDK W32: Implement gdk_win32_screen_get_monitor_workarea()

https://bugzilla.gnome.org/show_bug.cgi?id=763012

10 years agoDocument the .circular style class
Matthias Clasen [Thu, 3 Mar 2016 00:10:59 +0000 (19:10 -0500)]
Document the .circular style class

10 years agoscrolledwindow: fix left/right thinko for scrollbar style classes
Cosimo Cecchi [Thu, 3 Mar 2016 00:08:19 +0000 (16:08 -0800)]
scrolledwindow: fix left/right thinko for scrollbar style classes

"left" and "right" were inverted, preumably because the position type
parameter refers to the scrolled window position, and not the scrollbar
itself.

10 years agowidget: Add brute force method to propagate clip
Benjamin Otte [Wed, 2 Mar 2016 23:35:15 +0000 (00:35 +0100)]
widget: Add brute force method to propagate clip

When a gtk_widget_queue_allocate() on some widget increases the clip,
widget->parent's clip was not updated. This appraoch naively just
unions widget's new clip with widget->parent's clip.

This of course only works if widget and parent share the same GDK
window. In the cases where they don't we can't do anything and need a
better fix.

Fixes label-text-shadow-changes-modify-clip.ui reftest.

10 years agoUpdated Russian translation
Stas Solovey [Wed, 2 Mar 2016 23:21:51 +0000 (23:21 +0000)]
Updated Russian translation

10 years agoAdwaita: more scale style fixes
Lapo Calamandrei [Wed, 2 Mar 2016 22:07:37 +0000 (23:07 +0100)]
Adwaita: more scale style fixes

10 years agoGDK W32: Use layered windows
Руслан Ижбулатов [Tue, 23 Feb 2016 09:20:55 +0000 (09:20 +0000)]
GDK W32: Use layered windows

Toplevels are now true layered windows that are moved,
resized and repainted via UpdateLayeredWindow() API call.
This achieves transparency without any extra effort,
and prevents window size and window contents desychronization
(bug 761629).

This also changes the way CSD windows are detected. We now
use window decorations to detect CSDiness of a window,
and to decide whether a window should be layered (CSD windows should
be) or not.

Decorations are now stored in the window implementation,
not as a quark-based property of the window-as-gobject.

https://bugzilla.gnome.org/show_bug.cgi?id=748872

10 years agoGDK W32: custom (non-WM) drag-move and drag-resize code
Руслан Ижбулатов [Sat, 6 Feb 2016 12:06:41 +0000 (12:06 +0000)]
GDK W32: custom (non-WM) drag-move and drag-resize code

Normally works only on CSD windows, non-CSD windows continue
to use WM modal loop for drag-resizing and drag-moving. However,
if it is activated on non-CSD windows, it does work.

Has the advantage of being completely immune to AeroSnap.
AeroSnap only worked partially on CSD windows, with the only part
that worked being "don't let users drag window titlebar outside of
the desktop". Now AeroSnap doesn't work on windows moved by
this code at all, which is good, since they currently don't work
well with it due to the way shadows are drawn.

It's possible to also re-implement AeroSnap (or something similar),
but that is a story for another commit.

This code was originally intended to fix the problem of window
size and window contents desynchronization, but failed to achieve
that result in the end. Nevertheless, it serves as a foundation for
other changes to the way window resizing works.

https://bugzilla.gnome.org/show_bug.cgi?id=761629

10 years agoAdwaita: fix scale with marks size
Lapo Calamandrei [Wed, 2 Mar 2016 20:47:24 +0000 (21:47 +0100)]
Adwaita: fix scale with marks size

10 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 2 Mar 2016 20:36:59 +0000 (21:36 +0100)]
Updated Spanish translation

10 years agoAdwaita: scale with marks style fixes
Lapo Calamandrei [Wed, 2 Mar 2016 20:34:03 +0000 (21:34 +0100)]
Adwaita: scale with marks style fixes

after GtkRange gadgettification the theme needs some adjustments
for the new widget structure.

10 years agocombobox: Correct the CSS node docs
Matthias Clasen [Wed, 2 Mar 2016 20:20:47 +0000 (15:20 -0500)]
combobox: Correct the CSS node docs

The box was somehow overlooked in the diagrams.

10 years agoAdd a css node test for comboboxes
Matthias Clasen [Wed, 2 Mar 2016 20:20:31 +0000 (15:20 -0500)]
Add a css node test for comboboxes

10 years agoAdwaita: fix combos styling
Lapo Calamandrei [Wed, 2 Mar 2016 19:55:19 +0000 (20:55 +0100)]
Adwaita: fix combos styling

since now the combobox childrens are in a box.

10 years agoscale: don't add scale label for empty markup
Cosimo Cecchi [Wed, 2 Mar 2016 19:16:39 +0000 (11:16 -0800)]
scale: don't add scale label for empty markup

This is a regression from the gadget port.

10 years agoUpdated Lithuanian translation
Aurimas Černius [Wed, 2 Mar 2016 18:42:40 +0000 (20:42 +0200)]
Updated Lithuanian translation

10 years agowayland: synchronize key repeat with server
Ray Strode [Thu, 25 Feb 2016 18:58:42 +0000 (13:58 -0500)]
wayland: synchronize key repeat with server

key repeat is handled client side, which means stalls in the compositor
dispatching key release events can lead to fictious repeat events.

This commit ties key repeat to a server roundtrip to ensure the client
and server are in sync.

https://bugzilla.gnome.org/show_bug.cgi?id=757942

10 years agowayland: handle key up events earlier in deliver_key_event
Ray Strode [Tue, 1 Mar 2016 13:49:27 +0000 (08:49 -0500)]
wayland: handle key up events earlier in deliver_key_event

We don't need the key repeat rate or anything like that when
handling key up events, so do key up events first before querying
for that information.

https://bugzilla.gnome.org/show_bug.cgi?id=757942

10 years agowayland: make deliver_key_event return void
Ray Strode [Tue, 1 Mar 2016 13:29:31 +0000 (08:29 -0500)]
wayland: make deliver_key_event return void

deliver_key_event is sometimes called from a timeout handler and
sometimes called directly.  We currently erroneously return TRUE
(G_SOURCE_CONTINUE) in the case where it's called directly, but to
no ill effect, since we ignore that return value. In the future,
we're going to need to call it directly in other parts of the code
where the return value would be relevant and handling TRUE, would
require adding redundant code.

Instead, this commit just changes the code to always reset the timer
manually, and never rely on glib's ability to automatically reset
the timer by returning TRUE.  This makes the code smaller, too, since
there's less special casing required.

https://bugzilla.gnome.org/show_bug.cgi?id=757942

10 years agowin32 theme: Add a naive switch implementation
Benjamin Otte [Wed, 2 Mar 2016 13:48:43 +0000 (14:48 +0100)]
win32 theme: Add a naive switch implementation

I couldn't come up with anything better than a button on a button.
But the Windows theme sucks...

10 years agowin32 theme: Implement horizontal spinbuttons
Benjamin Otte [Wed, 2 Mar 2016 06:51:54 +0000 (07:51 +0100)]
win32 theme: Implement horizontal spinbuttons

10 years agocombobox: Put child into box
Benjamin Otte [Tue, 1 Mar 2016 18:14:30 +0000 (19:14 +0100)]
combobox: Put child into box

Put the combobox child into the box we added for this purpose. That way,
we don't have to maintain the child's position ourselves anymore.

10 years agocontainer: Remove check
Benjamin Otte [Tue, 1 Mar 2016 17:34:43 +0000 (18:34 +0100)]
container: Remove check

The check is not working for many containers anymore as they are not the
direct parents of their children. We want to allow this behavior in more
places.

10 years agocombobox: Put the button in a box
Benjamin Otte [Tue, 1 Mar 2016 17:29:22 +0000 (18:29 +0100)]
combobox: Put the button in a box

This is so we can put the entry into the box in the next commit.

10 years agocombobox: Make sure the cellview expands
Benjamin Otte [Tue, 1 Mar 2016 17:19:44 +0000 (18:19 +0100)]
combobox: Make sure the cellview expands

Windows theme needs the expansion for correct drawing of the focus
outline.

10 years agocombobox: Ensure an entry gets created for has_entry combos
Benjamin Otte [Tue, 1 Mar 2016 16:39:47 +0000 (17:39 +0100)]
combobox: Ensure an entry gets created for has_entry combos

Previously add/remove on the combobox would result in a cellview being
created.

10 years agoUpdated Galician translation
Fran Dieguez [Wed, 2 Mar 2016 09:46:21 +0000 (09:46 +0000)]
Updated Galician translation

10 years agomir: display->list_devices vfunc was dropped
Rico Tzschichholz [Wed, 2 Mar 2016 09:23:10 +0000 (10:23 +0100)]
mir: display->list_devices vfunc was dropped

See 4a6f8a065abace71c0ca32d959ec9b86628bffaa

https://bugzilla.gnome.org/show_bug.cgi?id=762891

10 years agoFix last commit
Chun-wei Fan [Wed, 2 Mar 2016 08:53:27 +0000 (16:53 +0800)]
Fix last commit

We need to drop the reference to it in configure.ac as well...

10 years agoMSVC build: Drop crypt implementation for MSVC
Chun-wei Fan [Wed, 2 Mar 2016 08:49:59 +0000 (16:49 +0800)]
MSVC build: Drop crypt implementation for MSVC

We are actually not using the crypt() in GDK-Broadway for quite a while,
so the code implementation for MSVC is actually not used.  So, it's time
to get rid of this.

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Wed, 2 Mar 2016 07:39:24 +0000 (09:39 +0200)]
Updated Hebrew translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Wed, 2 Mar 2016 07:37:20 +0000 (09:37 +0200)]
Updated Hebrew translation

10 years agoMSVC builds: Re-arrange include paths
Chun-wei Fan [Wed, 2 Mar 2016 05:02:30 +0000 (13:02 +0800)]
MSVC builds: Re-arrange include paths

Search also for the headers in include/gio-win32-2.0, as gio.h will
include those headers at some point, and arrange the include paths in a
dependency hierarchy style, top-to-down.

10 years ago3.19.11
Matthias Clasen [Wed, 2 Mar 2016 03:37:06 +0000 (22:37 -0500)]
3.19.11

10 years agocss node tests: Update notebook results
Matthias Clasen [Wed, 2 Mar 2016 04:21:55 +0000 (23:21 -0500)]
css node tests: Update notebook results

This is fallout from changing the tab states.

10 years agowayland: Check actual impl type in transient loop
Olivier Fourdan [Mon, 29 Feb 2016 09:14:56 +0000 (10:14 +0100)]
wayland: Check actual impl type in transient loop

If the parent of a transient is not a native Wayland window (e.g.
offscreen window), the transient loop check will crash.

Check for the actual type in the transient loop check and do not assume
the parent is necessarily Wayland native.

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761156

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
10 years agogdk: Compress window state events
Jonas Ådahl [Fri, 26 Feb 2016 06:10:06 +0000 (14:10 +0800)]
gdk: Compress window state events

If there are already a window state event for a given window queued
when the window state is changed, drop that event and queue a new event
with a changed_mask based on the state before last event that was queue
without compression.

https://bugzilla.gnome.org/show_bug.cgi?id=762468

10 years agoprogressbar: Don't leave css nodes behind
Matthias Clasen [Tue, 1 Mar 2016 21:00:30 +0000 (16:00 -0500)]
progressbar: Don't leave css nodes behind

We create and destroy gadgets inside the hierarchy here,
and if we don't explicitly remove their CSS nodes from the parent,
they stick around.

10 years agoscale: Don't leave css nodes behind
Matthias Clasen [Tue, 1 Mar 2016 20:57:36 +0000 (15:57 -0500)]
scale: Don't leave css nodes behind

We create and destroy gadgets inside the scale hierarchy here,
and if we don't explicitly remove their CSS nodes from the parent,
they stick around.

10 years agoAdwaita: fix outline for scale trough
Cosimo Cecchi [Tue, 1 Mar 2016 20:53:44 +0000 (12:53 -0800)]
Adwaita: fix outline for scale trough

10 years agorange: Don't leave css nodes behind
Matthias Clasen [Tue, 1 Mar 2016 20:48:01 +0000 (15:48 -0500)]
range: Don't leave css nodes behind

We create and destroy gadgets inside the range hierarchy here,
and if we don't explicitly remove their CSS nodes from the parent,
they stick around.

10 years agolevel bar: Don't leave css nodes behind
Matthias Clasen [Tue, 1 Mar 2016 20:35:32 +0000 (15:35 -0500)]
level bar: Don't leave css nodes behind

We create and destroy gadgets inside the levelbar hierarchy here,
and if we don't explicitly remove their CSS nodes from the parent,
they stick around.

10 years agocell renderer: Strip out :drop(active) state
Matthias Clasen [Tue, 1 Mar 2016 20:18:34 +0000 (15:18 -0500)]
cell renderer: Strip out :drop(active) state

It does not make sense to render every cell in a treeview as
drop target, even when the treeview itself is set as a drop destination.

https://bugzilla.gnome.org/show_bug.cgi?id=761686

10 years agoUpdates
Matthias Clasen [Tue, 1 Mar 2016 20:09:10 +0000 (15:09 -0500)]
Updates

10 years agoTake a reference on the im context for async ops
Matthias Clasen [Tue, 1 Mar 2016 12:58:12 +0000 (07:58 -0500)]
Take a reference on the im context for async ops

This might fix the crash in yelp that some people continue
to see.

https://bugzilla.gnome.org/show_bug.cgi?id=762887

10 years agowayland: Restore size when configure size is 0x0
Olivier Fourdan [Fri, 26 Feb 2016 12:35:35 +0000 (13:35 +0100)]
wayland: Restore size when configure size is 0x0

According to xdg_shell, an xdg_surface.configure with size 0x0 should
be interpreted as that it is up to the client to set a size.

When transitioning from maximize or fullscreen state, this means the
client should configure its size back to what it was before being
maximize or fullscreen.

This problem currently only occurs on weston because weston sends a
configure with size 0x0 when transitioning back from maximize or
fullscreen.

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762713

10 years agoUpdated Swedish translation
Anders Jonsson [Tue, 1 Mar 2016 09:13:42 +0000 (09:13 +0000)]
Updated Swedish translation

10 years agonotebook: Tell everyone we reordered stuff
Benjamin Otte [Mon, 29 Feb 2016 22:17:00 +0000 (23:17 +0100)]
notebook: Tell everyone we reordered stuff

Fixes keybindings for reordering actually emitting signals and properly
updating CSS/the screen.

10 years agonotebook: Reallocate tab gadgets when we reorder them
Benjamin Otte [Mon, 29 Feb 2016 20:57:19 +0000 (21:57 +0100)]
notebook: Reallocate tab gadgets when we reorder them

Otherwise they stay in their position and don't cause a redraw. Which
really confuses Epiphany users apparently.

https://bugzilla.gnome.org/show_bug.cgi?id=762720